package com.dz.lm.dao.talkComment.read;


import com.dz.lm.common.exception.DaoException;
import com.dz.lm.common.utils.stereotype.ReaderRepository;
import com.dz.lm.domain.talkcomment.TalkComment;

import java.util.List;
import java.util.Map;

@ReaderRepository("readTalkCommentDao")
public interface TalkCommentDao {
    /**
     * 主键查询
     * @param commentid
     * @return
     */
    TalkComment selectByPrimaryKey(Integer commentid) throws DaoException;

    /**
     * 根据条件查列表
     * @param param
     * @return
     */
    List<TalkComment> qryTalkCommentList(Map<String, Object> param)throws DaoException;
}